"""
    :copyright: © 2019 by the Lin team.
    :license: MIT, see LICENSE for more details.
"""

# 安全性配置
from .setting import BaseConfig


class DevelopmentSecure(BaseConfig):
    """
    开发环境安全性配置
    """
    SQLALCHEMY_DATABASE_URI = 'mysql+cymysql://root:Dc@198668@120.26.73.236:3306/Toohua_CMS_PY_2018'
    SQLALCHEMY_ECHO = False
    SECRET_KEY = 'secret key'

class ProductionSecure(BaseConfig):
    """
    生产环境安全性配置
    """
    SQLALCHEMY_DATABASE_URI = 'mysql+cymysql://root:Dc@198668@120.26.73.236:3306/Toohua_CMS_PY_2018'
    SQLALCHEMY_ECHO = False
    SECRET_KEY = 'secret key'

class PooledDBSecure(BaseConfig):
    DATABASE_CONFIG = {'user': 'root','host': '120.26.73.236','password': 'Dc@198668','database': 'Toohua_CMS_PY_2018','port': 3306}

